//
//  PushWebViewUrl.m
//  YZZX
//
//  Created by Easaa on 15/5/28.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "PushWebViewUrl.h"

@interface PushWebViewUrl ()<UIWebViewDelegate>
{
    UIWebView  *MassgeWebView;
                 
                 
}

@end

@implementation PushWebViewUrl

- (void)viewDidLoad {
    [super viewDidLoad];
   
    
    MassgeWebView=[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, Dev_ScreenWidth, Dev_ScreenHeight-64)];
    MassgeWebView.delegate=self;
    
    //MassgeWebView.dataDetectorTypes=UIDataDetectorTypeNone;
  
//    MassgeWebView.scrollView.delegate = self;
    MassgeWebView.scrollView.alwaysBounceVertical = NO;
    MassgeWebView.scrollView.bounces = NO;
    MassgeWebView.scrollView.showsVerticalScrollIndicator = NO;
    [self.view  addSubview:MassgeWebView];
    
    

    NSURL *url = [NSURL URLWithString:self.URLStr];
  [MassgeWebView loadRequest:[NSURLRequest requestWithURL:url]];
 
}


@end
